<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<c:import url="/head.jsp"></c:import>
<script src="<c:url value='/scripts/jquery.pack.js'/> " type="text/javascript"></script>
<script type="text/javascript"> 
function resize(){
	var h=50;
	try{
		if(mainFrame && mainFrame.document && mainFrame.document.body){
			var o=mainFrame.document.body;
			var h=o.scrollHeight + (typeof(o.clientTop)== 'number' ?o.clientTop * 2 : 0);
		}
	}
	catch(e){
		var h=50;window.status=e.description;
	}
	if(h<50){h=50;}
	document.getElementById('mainFrame').style.height=h+'px';
	return h+"px";
}

function newWin(url){
	window.open(url, '');
}
function titleHidde(ulId,spanId) {
	$("#"+ulId).toggle();
	
	if($("#"+ulId)[0].style.display=='none'){
		$("#"+spanId).html('+');
	}else{
		$("#"+spanId).html('-');
	}
}
function selectLi(obj){

	$(".selectedcolor").each(function(i){
		   this.className = "normalcolor";
		 });
	obj.className="selectedcolor";
}


</script>

</head>
<body>
<table class="top">
	<tr>
		<td width="40" class="topl"></td>
		<td width="840">
		<div class="plat_title"><img
			src="<%=request.getContextPath()%>/images/toptitle.gif" /></div>
		</td>
		<td width="21"><div class="top_drop_btn"></div></td>
		<td width="20"><div class="maxbtn"></div></td>
		<td width="29"><div class="closebtn"></div></td>
	</tr>
</table>
<table class="content">
	<tr>
		<td class="main_l"></td>
		<td class="main_lbar"></td>
		<td width="918" valign="top">
		<div class="banner"><img
			src="<%=request.getContextPath()%>/images/banner.jpg" alt="" /></div>
		<div class="user_status">欢迎 ${userInfo.userName}!
			<span><input type="button" class="btn40" value="退出" onclick="location.href='<%=request.getContextPath()%>/exit.jsp'"/></span>
			<span><input type="button" class="bnt60" value="文档资料" onclick="newWin('<%=request.getContextPath()%>/index.jsp')"/></span>
			<span><input type="button" value="帐号管理" class="bnt60" onclick="newWin('<%=request.getContextPath()%>/user/showSelfAccManage/${userInfo.userID}')"/></span>
			<c:if test="${userInfo.userType == 1}">
			<span><input type="button" class="btn80" value="已发布信息" onclick="newWin('<%=request.getContextPath()%>/info/index/${userInfo.deptCode}')"/></span>
			</c:if>
		</div>
		<div class="op_con">
		<div class="op_left">
		
		<div style="height:600px; overflow: hidden">
		<c:if test="${userInfo.userType==0}">
			<div class="status" >
				<dl onclick="titleHidde('left_ul_1','left_sp_1')" style="cursor: pointer;">
					<dt>
						<span style="padding-right: 6px" id="left_sp_1">
							-
						</span>
						项目公开信息处理
					</dt>
				</dl>
				<ul id="left_ul_1">
					<li><a id="link1"
						href="<%=request.getContextPath()%>/input/getOrgProjectType/"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">新建项目信息</a></li>
					<li><a id="link2"
						href="<%=request.getContextPath()%>/input/getOrgProjectInfoList/1?key1=input"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">未提交</a></li>
					<li><a id="link3"
						href="<%=request.getContextPath()%>/input/getOrgProjectInfoList/2?key1=input"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">已提交</a></li>
					<li><a id="link4"
						href="<%=request.getContextPath()%>/input/getOrgProjectInfoList/3?key1=input"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">审核未通过</a></li>
					<li><a id="link5"
						href="<%=request.getContextPath()%>/input/getOrgProjectInfoList/5?key1=input"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">已发布</a></li>
				</ul>
			</div>
			<div class="status" >
				<dl onclick="titleHidde('left_ul_2','left_sp_2')" style="cursor: pointer;">
					<dt>
						<span style="padding-right: 6px" id="left_sp_2">
							-
						</span>
						信用信息公开处理
					</dt>
				</dl>
				<ul id="left_ul_2">
					<li><a id="link6"
						href="<%=request.getContextPath()%>/input/getOrgCreditType/"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">新建信用信息</a></li>
					<li><a id="link7"
						href="<%=request.getContextPath()%>/input/getOrgCreditInfoList/1?key1=input"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">未提交</a></li>
					<li><a id="link8"
						href="<%=request.getContextPath()%>/input/getOrgCreditInfoList/2?key1=input"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">已提交</a></li>
					<li><a id="link9"
						href="<%=request.getContextPath()%>/input/getOrgCreditInfoList/3?key1=input"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">审核未通过</a></li>
					<li><a id="link10"
						href="<%=request.getContextPath()%>/input/getOrgCreditInfoList/5?key1=input"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">已发布</a></li>
				</ul>
			</div>
		</c:if>
			
		<c:if test="${userInfo.userType==1}">
			<div class="status" >
				<dl onclick="titleHidde('left_ul_1','left_sp_1')" style="cursor: pointer;">
					<dt>
						<span style="padding-right: 6px" id="left_sp_1">
							-
						</span>
						项目公开信息处理
					</dt>
				</dl>
				<ul id="left_ul_1">
					<li><a id="link1"
						href="<%=request.getContextPath()%>/input/getDepProjectType/"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">新建项目信息</a></li>
					<li><a id="link2"
						href="<%=request.getContextPath()%>/input/getDepProjectInfoList/4?key1=input"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">已保存</a></li>
					<li><a id="link3"
						href="<%=request.getContextPath()%>/input/getDepProjectInfoList/2?key1=proManageDepCode"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">未审批</a></li>
					<li><a id="link4"
						href="<%=request.getContextPath()%>/input/getDepProjectInfoList/3?key1=proManageDepCode"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">已退回</a></li>
					<li><a id="link5"
						href="<%=request.getContextPath()%>/input/getDepProjectInfoList/5?key1=proManageDepCode"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">已发布</a></li>
				</ul>
			</div>
			<div class="status" >
				<dl onclick="titleHidde('left_ul_2','left_sp_2')" style="cursor: pointer;">
					<dt>
						<span style="padding-right: 6px" id="left_sp_2">
							-
						</span>
						信用信息公开处理
					</dt>
				</dl>
				<ul id="left_ul_2">
					<li><a id="link1"
						href="<%=request.getContextPath()%>/input/getDepCreditType/"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">新建信用信息</a></li>
					<li><a id="link2"
						href="<%=request.getContextPath()%>/input/getDepCreditInfoList/4?key1=input"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">已保存</a></li>
					<li><a id="link3"
						href="<%=request.getContextPath()%>/input/getDepCreditInfoList/2?key1=proManageDepCode"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">未审批</a></li>
					<li><a id="link4"
						href="<%=request.getContextPath()%>/input/getDepCreditInfoList/3?key1=proManageDepCode"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">已退回</a></li>
					<li><a id="link5"
						href="<%=request.getContextPath()%>/input/getDepCreditInfoList/5?key1=proManageDepCode"
						target="mainFrame" class="normalcolor" onclick="selectLi(this)">已发布</a></li>
				</ul>
			</div>
		</c:if>
		
			<!-- 
			<div class="status" >
				<dl onclick="titleHidde('left_ul_2','left_sp_2')" style="cursor: pointer;">
					<dt >
						<span style="padding-right: 6px;" id="left_sp_2">
							+
						</span>
						项目信息类别
					</dt>
				</dl>
				<ul id="left_ul_2">
					<li><a id="link1"
						href="/login.jsp"
						target="mainFrame" class="selectedcolor" onclick="querytype(this,true,'showTab1')">未提交&nbsp;(<span id="showTab1">${showTab1}</span>)</a></li>
					<li><a id="link2"
						href="/audit/list/?show=2"
						target="mainFrame" class="normalcolor" onclick="querytype(this,false,'showTab2')">已提交&nbsp;(<span id="showTab2">${showTab2}</span>)</a></li>
					<li><a id="link3"
						href="/audit/list/?show=3"
						target="mainFrame" class="normalcolor" onclick="querytype(this, true,'showTab3')">审核未通过&nbsp;(<span id="showTab3">${showTab3}</span>)</a></li>
					<li><a id="link4"
						href="/audit/list/?show=5"
						target="mainFrame" class="normalcolor" onclick="querytype(this,false)">已发布</a></li>
				</ul>
			</div>
			 -->
		</div>
		
		<dl>
			<dt id="test">公告通知</dt>
		</dl>
		<marquee align="center" behavior="scroll" direction="up" height=170 scrollamount="2" scrolldely="10">
			<ul class="noticeul">
				<li><span></span><a href="#" target="_blank"></a></li>
				<li><span></span><a href="#" target="_blank"></a></li>
				<li><span></span><a href="#" target="_blank"></a></li>
				<li><span></span><a href="#" target="_blank"></a></li>
			</ul>
		</marquee>
		</div>
		<div class="op_right">
		
		<iframe id="mainFrame" name="mainFrame" frameborder="0" src=""
		scrolling="yes" frameborder="0" style="width:100%;;height:819px;" >
		</iframe>
		
		</div>
		</div>
		</td>
		<td class="main_rbar"></td>
		<td class="main_r"></td>
	</tr>
</table>
<table class="bot">
	<tr>
		<td width="41"><div class="botl"></div></td>
		<td width="867"></td>
		<td width="42"><div class="exit"></div></td>
	</tr>
</table>
</body>
<c:import url="/staticFoot.jsp"></c:import>
</html>
